package common;

public class RegisterResponse implements Sendable{
	
	private static final long serialVersionUID = -1016620546918987837L;
	private Player p;
	
	public RegisterResponse( Player p ){
		this.p = p;
	}
	
	public boolean hasError() {
		return (p == null);
	}
	
	public Player getPlayer() { 
		return p;
	}
	
	public String getType() {
		return "RegisterResponse";
	}

}
